package day11.day12;

public class Teacher {
    private String name;
    private  int age ;
    private  String stuNo ;

    public Teacher() {

    }

    public Teacher(String name, int age, String stuNo) {
        this.name = name;
        this.age = age;
        this.stuNo = stuNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
